import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;

import java.io.*;
import java.util.*;

import java.util.stream.Collectors;


public class Test {
    public static void main(String[] args) {
        Properties properties = new Properties();
        try {
            properties.load(new FileInputStream("read.txt"));
            Set<String> strings = properties.stringPropertyNames();
            strings.stream().forEach(string-> System.out.println(string+"=="+properties.getProperty(string)));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
